include mixin

ul.breadcrumb
	li
		a(href='/portal/index') 首页
	li.sep >
	li
		a(href='#/fund') 基金产品
	li.sep >
	li.cd 基金筛选

.fd-scr-mod1
	.pad20.graybg
		img(src='../img/blank.gif').icon-scr

		span.icon-scr-desc.mleft15.vam
			.cn 基金筛选

		.ib.cn-desc.vab(style='margin-left: 550px')
			| 共找到符合您的筛选条件的基金 
			b.oc {{products.count || 0}}
			|  条

	.pad10.bbottom(style='border-bottom-style: dashed;')
		.ib.vam.fund-cdt-icon1.mright10
		.ib.vam.padright15.bright.mright5.font14 基金类型
		a.vam.b.ib.fund-condition(href='javascript:void(0);', ng-class='{cdtActv: !category}', ng-click='search((category=null))') 全部
		a.vam.b.ib.fund-condition(href='javascript:void(0);', ng-class='{cdtActv: category=="/基金/股票型"}', ng-click='search((category="/基金/股票型"))') 股票型
		a.vam.b.ib.fund-condition(href='javascript:void(0);', ng-class='{cdtActv: category=="/基金/混合型"}', ng-click='search((category="/基金/混合型"))') 混合型
		a.vam.b.ib.fund-condition(href='javascript:void(0);', ng-class='{cdtActv: category=="/基金/债券型"}', ng-click='search((category="/基金/债券型"))') 债券型
		a.vam.b.ib.fund-condition(href='javascript:void(0);', ng-class='{cdtActv: category=="/基金/指数型"}', ng-click='search((category="/基金/指数型"))') 指数型
		a.vam.b.ib.fund-condition(href='javascript:void(0);', ng-class='{cdtActv: category=="/基金/QDII"}', ng-click='search((category="/基金/QDII"))') QDII
		a.vam.b.ib.fund-condition(href='javascript:void(0);', ng-class='{cdtActv: category=="/基金/ETF"}', ng-click='search((category="/基金/ETF"))') ETF
		a.vam.b.ib.fund-condition(href='javascript:void(0);', ng-class='{cdtActv: category=="/基金/LOF"}', ng-click='search((category="/基金/LOF"))') LOF
		a.vam.b.ib.fund-condition(href='javascript:void(0);', ng-class='{cdtActv: category=="/基金/FOF"}', ng-click='search((category="/基金/FOF"))') FOF
		a.vam.b.ib.fund-condition(href='javascript:void(0);', ng-class='{cdtActv: category=="/基金/保本型"}', ng-click='search((category="/基金/保本型"))') 保本型
		a.vam.b.ib.fund-condition(href='javascript:void(0);', ng-class='{cdtActv: category=="/基金/货币型"}', ng-click='search((category="/基金/货币型"))') 货币型
		a.vam.b.ib.fund-condition(href='javascript:void(0);', ng-class='{cdtActv: category=="/基金/理财型"}', ng-click='search((category="/基金/理财型"))') 理财型
		a.vam.b.ib.fund-condition(href='javascript:void(0);', ng-class='{cdtActv: category=="/基金/创新封基"}', ng-click='search((category="/基金/创新封基"))') 创新封基

	.pad10.bbottom(style='border-bottom-style: dashed;')
		.ib.vam.fund-cdt-icon2.mright10
		.ib.vam.padright15.bright.mright5.font14 风险类型
		a.vam.b.ib.fund-condition(href='javascript:void(0);', ng-class='{cdtActv: !risk_level}', ng-click='search((risk_level=0));') 全部
		a.vam.b.ib.fund-condition(href='javascript:void(0);', ng-class='{cdtActv: risk_level==1}', ng-click='search((risk_level=1));') 低风险
		a.vam.b.ib.fund-condition(href='javascript:void(0);', ng-class='{cdtActv: risk_level==2}', ng-click='search((risk_level=2));') 较低风险
		a.vam.b.ib.fund-condition(href='javascript:void(0);', ng-class='{cdtActv: risk_level==3}', ng-click='search((risk_level=3));') 中风险
		a.vam.b.ib.fund-condition(href='javascript:void(0);', ng-class='{cdtActv: risk_level==4}', ng-click='search((risk_level=4));') 较高风险
		a.vam.b.ib.fund-condition(href='javascript:void(0);', ng-class='{cdtActv: risk_level==5}', ng-click='search((risk_level=5));') 高风险

	.pad10.bbottom(style='border-bottom-style: dashed;')
		.ib.vam.fund-cdt-icon3.mright10
		.ib.vam.padright15.bright.mright5.font14 基金评价
		a.vam.b.ib.fund-condition(href='javascript:void(0);', ng-class='{cdtActv: !star}', ng-click='search((star=0));') 全部
		a.vam.b.ib.fund-condition.fund-star5-w(href='javascript:void(0);', ng-class='{fstarActv: star==5}', ng-click='search((star=5));')
			.fund-star5
		a.vam.b.ib.fund-condition.fund-star4-w(href='javascript:void(0);', ng-class='{fstarActv: star==4}', ng-click='search((star=4));')
			.fund-star4
		a.vam.b.ib.fund-condition.fund-star3-w(href='javascript:void(0);', ng-class='{fstarActv: star==3}', ng-click='search((star=3));')
			.fund-star3
		a.vam.b.ib.fund-condition.fund-star2-w(href='javascript:void(0);', ng-class='{fstarActv: star==2}', ng-click='search((star=2));')
			.fund-star2
		a.vam.b.ib.fund-condition.fund-star1-w(href='javascript:void(0);', ng-class='{fstarActv: star==1}', ng-click='search((star=1));')
			.fund-star1

	.mbottom(ng-init='fold=true')
		.pad10.clearfix
			
			.ib.vam.fund-cdt-icon4.mright10
			.ib.vam.padright15.bright.mright5.font14 基金公司
			.ib.bbottom.mbottom8(ng-init='word=null')
				a.ib.vam.fund-condition-word(ng-class="{'blur-bbottom': !word}", ng-click='word=null;mngcom=srcmngcom') 全部
				each word in ['A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z']
					a.ib.vam.fund-condition-word(href='javascript:void(0);', ng-class="{'blur-bbottom': word=='#{word}'}", ng-click="word='#{word}';mngcom=_mngcom['#{word.toLowerCase()}']") #{word}

			.pull-right
				a.pull-left.vam.b.ib.fund-condition(href='javascript:void(0);', ng-class='{cdtActv: !vendor}', ng-click='search((vendor=null));') 全部
				.fund-com-w.ib(ng-class='{height61: fold}')
					a.vam.b.ib(href='javascript:void(0);').ib.fund-condition(ng-repeat='com in mngcom', ng-class='{cdtActv: vendor==com.chiname}', ng-click='$parent.vendor=com.chiname;search()') {{com.chiname}}

		.btop.relative(ng-switch='fold')
			a.border.more-com.cp.afc.tac(ng-switch-when='false', ng-click='$parent.fold=true', href='javascript:void(0);')
				.vam.ib.mright8 收起
				.vam.ib.fold-up
			a.border.more-com.cp.afc.tac(ng-switch-when='true', ng-click='$parent.fold=false', href='javascript:void(0);')
				.vam.ib.mright8 展开更多
				.vam.ib.unfold-down
		
.mtop45(ng-switch='products.others.length + products.currency.length> 0') 
	.bc.fd-scr-mod2(ng-switch-when='true')
		.bleft.btop.bbottom
			//- 基金优惠屏蔽代码
			div(ng-show='products.others.length> 0')
				.yui3-g.bbg2.b.font13.nows(gf-fixtop, style='*font-size: 12px;')
					//- .yui3-u.col1(style='width:5%')
					//- 	.cott 序号
					//- .yui3-u.col2
					//- 	.cott 代码
					.yui3-u.col3.name
						.cott 简称
					.yui3-u.col4
						.cott
							.sort(ng-class='{sortDesc : order == "desc", sortAsc : order == "asc", active : sort == "pricing.price"}')
								a(href='#', onclick="return false", ng-click="changeOrder('pricing.price')").bc 单位净值(元)
					.yui3-u.col4
						.cott
							.sort(ng-class='{sortDesc : order == "desc", sortAsc : order == "asc", active : sort == "pricing.period"}')
								a(href='#', onclick="return false", ng-click="changeOrder('pricing.period')").bc 累计净值(元)
					.yui3-u.col8.colHeader
						.cott 总回报
						.cott.periods
							.yui3-u-1-4
								.sort(ng-class='{sortDesc : order == "desc", sortAsc : order == "asc", active : sort == "extra.yieldrate3m"}')
									a(href='#', onclick="return false", ng-click="changeOrder('extra.yieldrate3m')") 三个月
							.yui3-u-1-4
								.sort(ng-class='{sortDesc : order == "desc", sortAsc : order == "asc", active : sort == "extra.yieldrate6m"}')
									a(href='#', onclick="return false", ng-click="changeOrder('extra.yieldrate6m')") 六个月
							.yui3-u-1-4
								.sort(ng-class='{sortDesc : order == "desc", sortAsc : order == "asc", active : sort == "extra.yieldrate1y"}')
									a(href='#', onclick="return false", ng-click="changeOrder('extra.yieldrate1y')") 一年
							.yui3-u-1-4
								.sort(style='border-right:none;', ng-class='{sortDesc : order == "desc", sortAsc : order == "asc", active : sort == "extra.yieldratety"}')
									a(href='#', onclick="return false", ng-click="changeOrder('extra.yieldratety')") 今年以来
					.yui3-u.col2
						.cott 风险类型
					//- .yui3-u.col4.col4-2.colHeader
					//- 	.cott.youhuiTitle
					//- 		| 优惠
					//- 		.circus
					//- 	.cott.periods
					//- 		.yui3-u-1-2
					//- 			.cott 原费率
					//- 		.yui3-u-1-3
					//- 			.sort
					//- 				a(href="#") 优惠费率
					.yui3-u.col4.col4-2
						.cott.youhuiTitle
							| 费率优惠
							.circus(ng-mouseenter="showDetailTishi=true",ng-mouseleave="showDetailTishi=false")
							.tishi(ng-show="showDetailTishi",ng-mouseenter="showDetailTishi=true",ng-mouseleave="showDetailTishi=false")
								| 通过网上交易系统委托、手机证券委托软件申购我司代理销售的部分开放式基金（场外前端模式）享受此费率优惠，最低优惠至0.6%，且不低于原费率的4折；原申购费率低于0.6%的，则按原费率执行。
								.arrow-left
					.yui3-u.col2
						.cott
							.sort(ng-class='{sortDesc : order == "desc", sortAsc : order == "asc", active : sort == "star"}')
								a(href='#', onclick="return false", ng-click="changeOrder('star')").bc 评价
					.yui3-u.col2(style='width:9%')
						.cott 操作

				.yui3-g.btop(ng-repeat='item in products.others')
					//- .yui3-u.col1(style='width:5%')
					//- 	.cott {{(page-1)*pageSize + $index+1}}
					//- .yui3-u.col2
					//- 	.cott {{item.code}}
					.yui3-u.col3.name.namecode
						.cott
							a(gf-href='#/fund/detail?pid={{item.id}}').link {{item.title}}
							br
							| {{item.code}}
					.yui3-u.col4
						.cott {{(item.pricing[0].price | number : 4) || "--"}}
					.yui3-u.col4
						.cott {{(item.pricing[0].period | number : 4) || "--"}}
					.yui3-u.col8
						.cott.periods
							.yui3-u-1-4(ng-class='{grc: item.extra.yieldrate3m < 0, rc: item.extra.yieldrate3m > 0}')
								span(ng-bind='(item.extra.yieldrate3m | percentage : 2) || "--"')
							.yui3-u-1-4(ng-class='{grc: item.extra.yieldrate6m < 0, rc: item.extra.yieldrate6m > 0}')
								span(ng-bind='(item.extra.yieldrate6m | percentage : 2) || "--"')
							.yui3-u-1-4(ng-class='{grc: item.extra.yieldrate1y < 0, rc: item.extra.yieldrate1y > 0}')
								span(ng-bind='(item.extra.yieldrate1y | percentage : 2) || "--"')
							.yui3-u-1-4(ng-bind='(item.extra.yieldratety | percentage : 2) || "--"', ng-class='{grc: item.extra.yieldratety < 0, rc: item.extra.yieldratety > 0}')
					.yui3-u.col2
						.cott {{fundRiskLevelLabels[item.risk_level]}}
					.yui3-u.col4.col4-2
						.cott(ng-show="item.extra.discount[0].discount && item.extra.discount[0].discount<1")
							span.rc.inlinespan {{item.extra.discount[0].discount*10 | number:0}}折
						.cott(ng-show="!item.extra.discount[0].discount || item.extra.discount[0].discount>=1") --
					//- .yui3-u.col4.col4-2
					//- 	.cott.periods
					//- 		.yui3-u-1-2.numline
					//- 			span 1.00%
					//- 		.yui3-u-1-3
					//- 			| 0.60%  
					//- 			span.rc.inlinespan {{item.extra.discount[0].discount*10 || 10 | number:0}}折
					.yui3-u.col2
						.cott
							span(gf-star, gf-star-score="{{item.star}}")
					.yui3-u.col2(style='width:9%;')
						.cott(style='padding: 0')
							.fundCompare(ng-class='{added : item.added}', ng-click='toggleItem(item)')
								.selectBox
								| 加入对比
							.addToMine(ng-click='addToMime(item)', ng-show='!item.addedToMime')
								span.font16(style='color:#ee8156;padding: 0 2px;') +
								| 加入自选
							a.viewMime(ng-show='item.addedToMime', href='#/my_investment?type=fund') 查看自选

			div(ng-show='products.currency.length> 0')
				.yui3-g.bbg2.b.font13.nows(gf-fixtop, style='*font-size: 12px;', ng-show='products.others.length == 0')
					//- .yui3-u.col1(style='width:5%')
					//- 	.cott 序号
					//- .yui3-u.col2
					//- 	.cott 代码
					.yui3-u.col3.name
						.cott 简称
					.yui3-u.col4
						.cott
							.sort(ng-class='{sortDesc : order == "desc", sortAsc : order == "asc", active : sort == "extra.daily_return"}')
								a(href='#', onclick="return false", ng-click="changeOrder('extra.daily_return')").bc 万份收益(元)
					.yui3-u.col4
						.cott
							.sort(ng-class='{sortDesc : order == "desc", sortAsc : order == "asc", active : sort == "extra.annu_yield"}')
								a(href='#', onclick="return false", ng-click="changeOrder('extra.annu_yield')").bc 七日年化收益
					.yui3-u.col8.colHeader
						.cott 总回报
						.cott.periods
							.yui3-u-1-4
								span 三个月
							.yui3-u-1-4
								span 六个月
							.yui3-u-1-4
								span 一年
							.yui3-u-1-4 今年以来
					.yui3-u.col2
						.cott 风险类型
					.yui3-u.col4.col4-2
						.cott.youhuiTitle
							| 费率优惠
							.circus(ng-mouseenter="showDetailTishi=true",ng-mouseleave="showDetailTishi=false")
							.tishi(ng-show="showDetailTishi",ng-mouseenter="showDetailTishi=true",ng-mouseleave="showDetailTishi=false")
								| 通过网上交易系统委托、手机证券委托软件申购我司代理销售的部分开放式基金（场外前端模式）享受此费率优惠，最低优惠至0.6%，且不低于原费率的4折；原申购费率低于0.6%的，则按原费率执行。
								.arrow-left
					//- .yui3-u.col4.col4-2.colHeader
					//- 	.cott.youhuiTitle
					//- 		| 优惠
					//- 		.circus
					//- 	.cott.periods
					//- 		.yui3-u-1-2
					//- 			.cott 原费率
					//- 		.yui3-u-1-3
					//- 			.sort
					//- 				a(href="#") 优惠费率
					.yui3-u.col2
						.cott
							.sort(ng-class='{sortDesc : order == "desc", sortAsc : order == "asc", active : sort == "star"}')
								a(href='#', onclick="return false", ng-click="changeOrder('star')").bc 评价
					.yui3-u.col2(style='width:9%')
						.cott 操作


				.yui3-g.btop(ng-repeat='item in products.currency')
					//- .yui3-u.col1(style='width:5%')
					//- 	.cott {{(page-1)*pageSize + $index+1 + (products.others.length||0)}}
					//- .yui3-u.col2
					//- 	.cott {{item.code}}
					.yui3-u.col3.name.namecode
						.cott
							a(gf-href='#/fund/detail?pid={{item.id}}').link {{item.title}}
							br
							| {{item.code}}
					.yui3-u.col4
						.cott {{(item.extra.daily_return | number : 4) || "--"}}
					.yui3-u.col4
						.cott {{(item.extra.annu_yield | percentage : 2) || "--"}}
					.yui3-u.col8
						.cott.periods
							.yui3-u-1-4(ng-class='{grc: item.extra.yieldrate3m < 0, rc: item.extra.yieldrate3m > 0}')
								span(ng-bind='(item.extra.yieldrate3m | percentage : 2) || "--"')
							.yui3-u-1-4(ng-class='{grc: item.extra.yieldrate6m < 0, rc: item.extra.yieldrate6m > 0}')
								span(ng-bind='(item.extra.yieldrate6m | percentage : 2) || "--"')
							.yui3-u-1-4(ng-class='{grc: item.extra.yieldrate1y < 0, rc: item.extra.yieldrate1y > 0}')
								span(ng-bind='(item.extra.yieldrate1y | percentage : 2) || "--"')
							.yui3-u-1-4(ng-bind='(item.extra.yieldratety | percentage : 2) || "--"', ng-class='{grc: item.extra.yieldratety < 0, rc: item.extra.yieldratety > 0}')
					.yui3-u.col2
						.cott {{fundRiskLevelLabels[item.risk_level]}}
					.yui3-u.col4.col4-2
						.cott(ng-show="item.extra.discount[0].discount && item.extra.discount[0].discount<1")
							span.rc.inlinespan {{item.extra.discount[0].discount*10 | number:0}}折
						.cott(ng-show="!item.extra.discount[0].discount || item.extra.discount[0].discount>=1") --
					//- .yui3-u.col4.col4-2
					//- 	.cott.periods
					//- 		.yui3-u-1-2.numline
					//- 			span 1.00%
					//- 		.yui3-u-1-3
					//- 			| 0.60%  
					//- 			span.rc.inlinespan {{item.extra.discount[0].discount*10 || 10 | number:0}}折
					.yui3-u.col2
						.cott
							span(gf-star, gf-star-score="{{item.star}}")
					.yui3-u.col2(style='width:9%;')
						.cott(style='padding: 0')
							.fundCompare(ng-class='{added : item.added}', ng-click='toggleItem(item)')
								.selectBox
								| 加入对比
							.addToMine(ng-click='addToMime(item)', ng-show='!item.addedToMime')
								span.font16(style='color:#ee8156;padding: 0 2px;') +
								| 加入自选
							a.viewMime(ng-show='item.addedToMime', href='#/my_investment?type=fund') 查看自选
			//- div(ng-show='products.others.length> 0')
			//- 	.yui3-g.bbg2.b.font13.nows(gf-fixtop, style='*font-size: 12px;')
			//- 		.yui3-u.col1(style='width:5%')
			//- 			.cott 序号
			//- 		.yui3-u.col2
			//- 			.cott 代码
			//- 		.yui3-u.col3.name.nametest
			//- 			.cott 简称
			//- 		.yui3-u.col4
			//- 			.cott
			//- 				.sort(ng-class='{sortDesc : order == "desc", sortAsc : order == "asc", active : sort == "pricing.price"}')
			//- 					a(href='#', onclick="return false", ng-click="changeOrder('pricing.price')").bc 单位净值(元)
			//- 		.yui3-u.col4
			//- 			.cott
			//- 				.sort(ng-class='{sortDesc : order == "desc", sortAsc : order == "asc", active : sort == "pricing.period"}')
			//- 					a(href='#', onclick="return false", ng-click="changeOrder('pricing.period')").bc 累计净值(元)
			//- 		.yui3-u.col8.colHeader
			//- 			.cott 总回报
			//- 			.cott.periods
			//- 				.yui3-u-1-4
			//- 					.sort(ng-class='{sortDesc : order == "desc", sortAsc : order == "asc", active : sort == "extra.yieldrate3m"}')
			//- 						a(href='#', onclick="return false", ng-click="changeOrder('extra.yieldrate3m')") 三个月
			//- 				.yui3-u-1-4
			//- 					.sort(ng-class='{sortDesc : order == "desc", sortAsc : order == "asc", active : sort == "extra.yieldrate6m"}')
			//- 						a(href='#', onclick="return false", ng-click="changeOrder('extra.yieldrate6m')") 六个月
			//- 				.yui3-u-1-4
			//- 					.sort(ng-class='{sortDesc : order == "desc", sortAsc : order == "asc", active : sort == "extra.yieldrate1y"}')
			//- 						a(href='#', onclick="return false", ng-click="changeOrder('extra.yieldrate1y')") 一年
			//- 				.yui3-u-1-4
			//- 					.sort(style='border-right:none;', ng-class='{sortDesc : order == "desc", sortAsc : order == "asc", active : sort == "extra.yieldratety"}')
			//- 						a(href='#', onclick="return false", ng-click="changeOrder('extra.yieldratety')") 今年以来
			//- 		.yui3-u.col2
			//- 			.cott 风险类型
			//- 		.yui3-u.col2
			//- 			.cott
			//- 				.sort(ng-class='{sortDesc : order == "desc", sortAsc : order == "asc", active : sort == "star"}')
			//- 					a(href='#', onclick="return false", ng-click="changeOrder('star')").bc 评价
			//- 		.yui3-u.col2(style='width:9%')
			//- 			.cott 操作

			//- 	.yui3-g.btop(ng-repeat='item in products.others')
			//- 		.yui3-u.col1(style='width:5%')
			//- 			.cott {{(page-1)*pageSize + $index+1}}
			//- 		.yui3-u.col2
			//- 			.cott {{item.code}}
			//- 		.yui3-u.col3.name.namecode.nametest
			//- 			.cott
			//- 				a(gf-href='#/fund/detail?pid={{item.id}}').link {{item.title}}
			//- 		.yui3-u.col4
			//- 			.cott {{(item.pricing[0].price | number : 4) || "--"}}
			//- 		.yui3-u.col4
			//- 			.cott {{(item.pricing[0].period | number : 4) || "--"}}
			//- 		.yui3-u.col8
			//- 			.cott.periods
			//- 				.yui3-u-1-4(ng-class='{grc: item.extra.yieldrate3m < 0, rc: item.extra.yieldrate3m > 0}')
			//- 					span(ng-bind='(item.extra.yieldrate3m | percentage : 2) || "--"')
			//- 				.yui3-u-1-4(ng-class='{grc: item.extra.yieldrate6m < 0, rc: item.extra.yieldrate6m > 0}')
			//- 					span(ng-bind='(item.extra.yieldrate6m | percentage : 2) || "--"')
			//- 				.yui3-u-1-4(ng-class='{grc: item.extra.yieldrate1y < 0, rc: item.extra.yieldrate1y > 0}')
			//- 					span(ng-bind='(item.extra.yieldrate1y | percentage : 2) || "--"')
			//- 				.yui3-u-1-4(ng-bind='(item.extra.yieldratety | percentage : 2) || "--"', ng-class='{grc: item.extra.yieldratety < 0, rc: item.extra.yieldratety > 0}')
			//- 		.yui3-u.col2
			//- 			.cott {{fundRiskLevelLabels[item.risk_level]}}
			//- 		.yui3-u.col2
			//- 			.cott
			//- 				span(gf-star, gf-star-score="{{item.star}}")
			//- 		.yui3-u.col2(style='width:9%;')
			//- 			.cott(style='padding: 0')
			//- 				.fundCompare(ng-class='{added : item.added}', ng-click='toggleItem(item)')
			//- 					.selectBox
			//- 					| 加入对比
			//- 				.addToMine(ng-click='addToMime(item)', ng-show='!item.addedToMime')
			//- 					span.font16(style='color:#ee8156;padding: 0 2px;') +
			//- 					| 加入自选
			//- 				a.viewMime(ng-show='item.addedToMime', href='#/my_investment?type=fund') 查看自选

			//- div(ng-show='products.currency.length> 0')
			//- 	.yui3-g.bbg2.b.font13.nows(gf-fixtop, style='*font-size: 12px;', ng-show='products.others.length == 0')
			//- 		.yui3-u.col1(style='width:5%')
			//- 			.cott 序号
			//- 		.yui3-u.col2
			//- 			.cott 代码
			//- 		.yui3-u.col3.name.nametest
			//- 			.cott 简称
			//- 		.yui3-u.col4
			//- 			.cott
			//- 				.sort(ng-class='{sortDesc : order == "desc", sortAsc : order == "asc", active : sort == "extra.daily_return"}')
			//- 					a(href='#', onclick="return false", ng-click="changeOrder('extra.daily_return')").bc 万份收益(元)
			//- 		.yui3-u.col4
			//- 			.cott
			//- 				.sort(ng-class='{sortDesc : order == "desc", sortAsc : order == "asc", active : sort == "extra.annu_yield"}')
			//- 					a(href='#', onclick="return false", ng-click="changeOrder('extra.annu_yield')").bc 七日年化收益
			//- 		.yui3-u.col8.colHeader
			//- 			.cott 总回报
			//- 			.cott.periods
			//- 				.yui3-u-1-4
			//- 					span 三个月
			//- 				.yui3-u-1-4
			//- 					span 六个月
			//- 				.yui3-u-1-4
			//- 					span 一年
			//- 				.yui3-u-1-4 今年以来
			//- 		.yui3-u.col2
			//- 			.cott 风险类型
			//- 		.yui3-u.col2
			//- 			.cott
			//- 				.sort(ng-class='{sortDesc : order == "desc", sortAsc : order == "asc", active : sort == "star"}')
			//- 					a(href='#', onclick="return false", ng-click="changeOrder('star')").bc 评价
			//- 		.yui3-u.col2(style='width:9%')
			//- 			.cott 操作


			//- 	.yui3-g.btop(ng-repeat='item in products.currency')
			//- 		.yui3-u.col1(style='width:5%')
			//- 			.cott {{(page-1)*pageSize + $index+1 + (products.others.length||0)}}
			//- 		.yui3-u.col2
			//- 			.cott {{item.code}}
			//- 		.yui3-u.col3.name.namecode.nametest
			//- 			.cott
			//- 				a(gf-href='#/fund/detail?pid={{item.id}}').link {{item.title}}
			//- 		.yui3-u.col4
			//- 			.cott {{(item.extra.daily_return | number : 4) || "--"}}
			//- 		.yui3-u.col4
			//- 			.cott {{(item.extra.annu_yield | percentage : 2) || "--"}}
			//- 		.yui3-u.col8
			//- 			.cott.periods
			//- 				.yui3-u-1-4(ng-class='{grc: item.extra.yieldrate3m < 0, rc: item.extra.yieldrate3m > 0}')
			//- 					span(ng-bind='(item.extra.yieldrate3m | percentage : 2) || "--"')
			//- 				.yui3-u-1-4(ng-class='{grc: item.extra.yieldrate6m < 0, rc: item.extra.yieldrate6m > 0}')
			//- 					span(ng-bind='(item.extra.yieldrate6m | percentage : 2) || "--"')
			//- 				.yui3-u-1-4(ng-class='{grc: item.extra.yieldrate1y < 0, rc: item.extra.yieldrate1y > 0}')
			//- 					span(ng-bind='(item.extra.yieldrate1y | percentage : 2) || "--"')
			//- 				.yui3-u-1-4(ng-bind='(item.extra.yieldratety | percentage : 2) || "--"', ng-class='{grc: item.extra.yieldratety < 0, rc: item.extra.yieldratety > 0}')
			//- 		.yui3-u.col2
			//- 			.cott {{fundRiskLevelLabels[item.risk_level]}}
			//- 		.yui3-u.col2
			//- 			.cott
			//- 				span(gf-star, gf-star-score="{{item.star}}")
			//- 		.yui3-u.col2(style='width:9%;')
			//- 			.cott(style='padding: 0')
			//- 				.fundCompare(ng-class='{added : item.added}', ng-click='toggleItem(item)')
			//- 					.selectBox
			//- 					| 加入对比
			//- 				.addToMine(ng-click='addToMime(item)', ng-show='!item.addedToMime')
			//- 					span.font16(style='color:#ee8156;padding: 0 2px;') +
			//- 					| 加入自选
			//- 				a.viewMime(ng-show='item.addedToMime', href='#/my_investment?type=fund') 查看自选
		//- 基金优惠屏蔽代码
		//- .saleInfo
		//- 	.circus
		//- 	| 通过网上交易系统委托、手机证券委托软件申购我司代理销售的部分开放式基金（场外前端模式）享受此费率优惠，最低优惠至0.6%，且不低于原费率的4折；原申购费率低于0.6%的，则按原费率执行。


						
		include mixin	
		mixin pager

	div(ng-switch-default, ng-switch='loaded')
		.nc(ng-switch-when='true') 无匹配结果
		span(ng-switch-default) Loading&#8230;

.fundCompareList.mtop20(ng-show='compareList.length')
	.title.font14 基金对比
	.fundList.pull-left
		.fund.pad20(ng-repeat='item in compareList')
			a.remove.tac(href='javascript:;', ng-click='removeItem(item)') x
			.name.font14.b(ng-bind='item.title')
			.code.font12(ng-bind='item.code')
			.fundType.font12 基金类型：
				span(ng-bind='item.jjlx')
			.earnings 月收益：
				span(ng-bind='item.yieldratetm | number : 4')
	.fundSearch.pull-left(ng-show='compareList.length < 4')
		p 添加对比基金：
		.selectContainer.mbottom20
			select(ng-options='item.chiname for item in mngcom', ng-model='selectedCompany', ng-change='selectComany()')
		.selectContainer
			select(ng-options='item.title for item in compareFundSelectList', ng-model='addedItem', ng-change='addItem(addedItem)')
	.userAction.pull-left.pad20
		a.compare.mbottom10.tac(href='javascript:;', ng-click='compare()') 开始对比
		a.addToMine.tac.hidden(href='javascript:;') 加入自选
